Optimal. Leaf size=214 \[ \frac {\tan ^{-1}\left (\frac {\sqrt [3]{a}+2 \sqrt [3]{a+b x^3}}{\sqrt {3} \sqrt [3]{a}}\right )}{\sqrt {3} \sqrt [3]{a} d}-\frac {2^{2/3} \tan ^{-1}\left (\frac {\sqrt [3]{a}+2^{2/3} \sqrt [3]{a+b x^3}}{\sqrt {3} \sqrt [3]{a}}\right )}{\sqrt {3} \sqrt [3]{a} d}-\frac {\log (x)}{2 \sqrt [3]{a} d}+\frac {\log \left (a-b x^3\right )}{3 \sqrt [3]{2} \sqrt [3]{a} d}+\frac {\log \left (\sqrt [3]{a}-\sqrt [3]{a+b x^3}\right )}{2 \sqrt [3]{a} d}-\frac {\log \left (\sqrt [3]{2} \sqrt [3]{a}-\sqrt [3]{a+b x^3}\right )}{\sqrt [3]{2} \sqrt [3]{a} d} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.13, antiderivative size = 214, normalized size of antiderivative = 1.00, number of steps
used = 10, number of rules used = 6, integrand size = 28, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.214, Rules used = {457, 85, 57,
631, 210, 31} \begin {gather*} \frac {\text {ArcTan}\left (\frac {2 \sqrt [3]{a+b x^3}+\sqrt [3]{a}}{\sqrt {3} \sqrt [3]{a}}\right )}{\sqrt {3} \sqrt [3]{a} d}-\frac {2^{2/3} \text {ArcTan}\left (\frac {2^{2/3} \sqrt [3]{a+b x^3}+\sqrt [3]{a}}{\sqrt {3} \sqrt [3]{a}}\right )}{\sqrt {3} \sqrt [3]{a} d}+\frac {\log \left (a-b x^3\right )}{3 \sqrt [3]{2} \sqrt [3]{a} d}+\frac {\log \left (\sqrt [3]{a}-\sqrt [3]{a+b x^3}\right )}{2 \sqrt [3]{a} d}-\frac {\log \left (\sqrt [3]{2} \sqrt [3]{a}-\sqrt [3]{a+b x^3}\right )}{\sqrt [3]{2} \sqrt [3]{a} d}-\frac {\log (x)}{2 \sqrt [3]{a} d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 31
Rule 57
Rule 85
Rule 210
Rule 457
Rule 631
Rubi steps
\begin {align*} \int \frac {\left (a+b x^3\right )^{2/3}}{x \left (a d-b d x^3\right )} \, dx &=\frac {1}{3} \text {Subst}\left (\int \frac {(a+b x)^{2/3}}{x (a d-b d x)} \, dx,x,x^3\right )\\ &=\frac {1}{3} (2 b) \text {Subst}\left (\int \frac {1}{\sqrt [3]{a+b x} (a d-b d x)} \, dx,x,x^3\right )+\frac {\text {Subst}\left (\int \frac {1}{x \sqrt [3]{a+b x}} \, dx,x,x^3\right )}{3 d}\\ &=-\frac {\log (x)}{2 \sqrt [3]{a} d}+\frac {\log \left (a-b x^3\right )}{3 \sqrt [3]{2} \sqrt [3]{a} d}+\frac {\text {Subst}\left (\int \frac {1}{a^{2/3}+\sqrt [3]{a} x+x^2} \, dx,x,\sqrt [3]{a+b x^3}\right )}{2 d}-\frac {\text {Subst}\left (\int \frac {1}{2^{2/3} a^{2/3}+\sqrt [3]{2} \sqrt [3]{a} x+x^2} \, dx,x,\sqrt [3]{a+b x^3}\right )}{d}-\frac {\text {Subst}\left (\int \frac {1}{\sqrt [3]{a}-x} \, dx,x,\sqrt [3]{a+b x^3}\right )}{2 \sqrt [3]{a} d}+\frac {\text {Subst}\left (\int \frac {1}{\sqrt [3]{2} \sqrt [3]{a}-x} \, dx,x,\sqrt [3]{a+b x^3}\right )}{\sqrt [3]{2} \sqrt [3]{a} d}\\ &=-\frac {\log (x)}{2 \sqrt [3]{a} d}+\frac {\log \left (a-b x^3\right )}{3 \sqrt [3]{2} \sqrt [3]{a} d}+\frac {\log \left (\sqrt [3]{a}-\sqrt [3]{a+b x^3}\right )}{2 \sqrt [3]{a} d}-\frac {\log \left (\sqrt [3]{2} \sqrt [3]{a}-\sqrt [3]{a+b x^3}\right )}{\sqrt [3]{2} \sqrt [3]{a} d}-\frac {\text {Subst}\left (\int \frac {1}{-3-x^2} \, dx,x,1+\frac {2 \sqrt [3]{a+b x^3}}{\sqrt [3]{a}}\right )}{\sqrt [3]{a} d}+\frac {2^{2/3} \text {Subst}\left (\int \frac {1}{-3-x^2} \, dx,x,1+\frac {2^{2/3} \sqrt [3]{a+b x^3}}{\sqrt [3]{a}}\right )}{\sqrt [3]{a} d}\\ &=\frac {\tan ^{-1}\left (\frac {1+\frac {2 \sqrt [3]{a+b x^3}}{\sqrt [3]{a}}}{\sqrt {3}}\right )}{\sqrt {3} \sqrt [3]{a} d}-\frac {2^{2/3} \tan ^{-1}\left (\frac {1+\frac {2^{2/3} \sqrt [3]{a+b x^3}}{\sqrt [3]{a}}}{\sqrt {3}}\right )}{\sqrt {3} \sqrt [3]{a} d}-\frac {\log (x)}{2 \sqrt [3]{a} d}+\frac {\log \left (a-b x^3\right )}{3 \sqrt [3]{2} \sqrt [3]{a} d}+\frac {\log \left (\sqrt [3]{a}-\sqrt [3]{a+b x^3}\right )}{2 \sqrt [3]{a} d}-\frac {\log \left (\sqrt [3]{2} \sqrt [3]{a}-\sqrt [3]{a+b x^3}\right )}{\sqrt [3]{2} \sqrt [3]{a} d}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.27, size = 236, normalized size = 1.10 \begin {gather*} \frac {2 \sqrt {3} \tan ^{-1}\left (\frac {1+\frac {2 \sqrt [3]{a+b x^3}}{\sqrt [3]{a}}}{\sqrt {3}}\right )-2\ 2^{2/3} \sqrt {3} \tan ^{-1}\left (\frac {1+\frac {2^{2/3} \sqrt [3]{a+b x^3}}{\sqrt [3]{a}}}{\sqrt {3}}\right )+2 \log \left (-\sqrt [3]{a}+\sqrt [3]{a+b x^3}\right )-2\ 2^{2/3} \log \left (-2 \sqrt [3]{a}+2^{2/3} \sqrt [3]{a+b x^3}\right )-\log \left (a^{2/3}+\sqrt [3]{a} \sqrt [3]{a+b x^3}+\left (a+b x^3\right )^{2/3}\right )+2^{2/3} \log \left (2 a^{2/3}+2^{2/3} \sqrt [3]{a} \sqrt [3]{a+b x^3}+\sqrt [3]{2} \left (a+b x^3\right )^{2/3}\right )}{6 \sqrt [3]{a} d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.05, size = 0, normalized size = 0.00 \[\int \frac {\left (b \,x^{3}+a \right )^{\frac {2}{3}}}{x \left (-b d \,x^{3}+a d \right )}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 2.54, size = 530, normalized size = 2.48 \begin {gather*} \left [-\frac {2 \cdot 4^{\frac {1}{3}} \sqrt {3} a \left (-\frac {1}{a}\right )^{\frac {1}{3}} \arctan \left (\frac {1}{3} \cdot 4^{\frac {1}{3}} \sqrt {3} {\left (b x^{3} + a\right )}^{\frac {1}{3}} \left (-\frac {1}{a}\right )^{\frac {1}{3}} - \frac {1}{3} \, \sqrt {3}\right ) - 3 \, \sqrt {\frac {1}{3}} a \sqrt {-\frac {1}{a^{\frac {2}{3}}}} \log \left (\frac {2 \, b x^{3} + 3 \, \sqrt {\frac {1}{3}} {\left (2 \, {\left (b x^{3} + a\right )}^{\frac {2}{3}} a^{\frac {2}{3}} - {\left (b x^{3} + a\right )}^{\frac {1}{3}} a - a^{\frac {4}{3}}\right )} \sqrt {-\frac {1}{a^{\frac {2}{3}}}} - 3 \, {\left (b x^{3} + a\right )}^{\frac {1}{3}} a^{\frac {2}{3}} + 3 \, a}{x^{3}}\right ) + 4^{\frac {1}{3}} a \left (-\frac {1}{a}\right )^{\frac {1}{3}} \log \left (4^{\frac {2}{3}} {\left (b x^{3} + a\right )}^{\frac {1}{3}} a \left (-\frac {1}{a}\right )^{\frac {2}{3}} - 2 \cdot 4^{\frac {1}{3}} a \left (-\frac {1}{a}\right )^{\frac {1}{3}} + 2 \, {\left (b x^{3} + a\right )}^{\frac {2}{3}}\right ) - 2 \cdot 4^{\frac {1}{3}} a \left (-\frac {1}{a}\right )^{\frac {1}{3}} \log \left (-4^{\frac {2}{3}} a \left (-\frac {1}{a}\right )^{\frac {2}{3}} + 2 \, {\left (b x^{3} + a\right )}^{\frac {1}{3}}\right ) + a^{\frac {2}{3}} \log \left ({\left (b x^{3} + a\right )}^{\frac {2}{3}} + {\left (b x^{3} + a\right )}^{\frac {1}{3}} a^{\frac {1}{3}} + a^{\frac {2}{3}}\right ) - 2 \, a^{\frac {2}{3}} \log \left ({\left (b x^{3} + a\right )}^{\frac {1}{3}} - a^{\frac {1}{3}}\right )}{6 \, a d}, -\frac {2 \cdot 4^{\frac {1}{3}} \sqrt {3} a \left (-\frac {1}{a}\right )^{\frac {1}{3}} \arctan \left (\frac {1}{3} \cdot 4^{\frac {1}{3}} \sqrt {3} {\left (b x^{3} + a\right )}^{\frac {1}{3}} \left (-\frac {1}{a}\right )^{\frac {1}{3}} - \frac {1}{3} \, \sqrt {3}\right ) + 4^{\frac {1}{3}} a \left (-\frac {1}{a}\right )^{\frac {1}{3}} \log \left (4^{\frac {2}{3}} {\left (b x^{3} + a\right )}^{\frac {1}{3}} a \left (-\frac {1}{a}\right )^{\frac {2}{3}} - 2 \cdot 4^{\frac {1}{3}} a \left (-\frac {1}{a}\right )^{\frac {1}{3}} + 2 \, {\left (b x^{3} + a\right )}^{\frac {2}{3}}\right ) - 2 \cdot 4^{\frac {1}{3}} a \left (-\frac {1}{a}\right )^{\frac {1}{3}} \log \left (-4^{\frac {2}{3}} a \left (-\frac {1}{a}\right )^{\frac {2}{3}} + 2 \, {\left (b x^{3} + a\right )}^{\frac {1}{3}}\right ) - 6 \, \sqrt {\frac {1}{3}} a^{\frac {2}{3}} \arctan \left (\frac {\sqrt {\frac {1}{3}} {\left (2 \, {\left (b x^{3} + a\right )}^{\frac {1}{3}} + a^{\frac {1}{3}}\right )}}{a^{\frac {1}{3}}}\right ) + a^{\frac {2}{3}} \log \left ({\left (b x^{3} + a\right )}^{\frac {2}{3}} + {\left (b x^{3} + a\right )}^{\frac {1}{3}} a^{\frac {1}{3}} + a^{\frac {2}{3}}\right ) - 2 \, a^{\frac {2}{3}} \log \left ({\left (b x^{3} + a\right )}^{\frac {1}{3}} - a^{\frac {1}{3}}\right )}{6 \, a d}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} - \frac {\int \frac {\left (a + b x^{3}\right )^{\frac {2}{3}}}{- a x + b x^{4}}\, dx}{d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: NotImplementedError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 5.86, size = 369, normalized size = 1.72 \begin {gather*} \ln \left (2\,{\left (b\,x^3+a\right )}^{1/3}-2\,2^{1/3}\,a\,d^2\,{\left (-\frac {1}{a\,d^3}\right )}^{2/3}\right )\,{\left (-\frac {4}{27\,a\,d^3}\right )}^{1/3}+\ln \left ({\left (b\,x^3+a\right )}^{1/3}-a\,d^2\,{\left (\frac {1}{a\,d^3}\right )}^{2/3}\right )\,{\left (\frac {1}{27\,a\,d^3}\right )}^{1/3}-\ln \left (4\,{\left (b\,x^3+a\right )}^{1/3}+2\,2^{1/3}\,a\,d^2\,{\left (-\frac {1}{a\,d^3}\right )}^{2/3}-2^{1/3}\,\sqrt {3}\,a\,d^2\,{\left (-\frac {1}{a\,d^3}\right )}^{2/3}\,2{}\mathrm {i}\right )\,\left (\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )\,{\left (-\frac {4}{27\,a\,d^3}\right )}^{1/3}+\ln \left (4\,{\left (b\,x^3+a\right )}^{1/3}+2\,2^{1/3}\,a\,d^2\,{\left (-\frac {1}{a\,d^3}\right )}^{2/3}+2^{1/3}\,\sqrt {3}\,a\,d^2\,{\left (-\frac {1}{a\,d^3}\right )}^{2/3}\,2{}\mathrm {i}\right )\,\left (-\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )\,{\left (-\frac {4}{27\,a\,d^3}\right )}^{1/3}-\ln \left (2\,{\left (b\,x^3+a\right )}^{1/3}+a\,d^2\,{\left (\frac {1}{a\,d^3}\right )}^{2/3}-\sqrt {3}\,a\,d^2\,{\left (\frac {1}{a\,d^3}\right )}^{2/3}\,1{}\mathrm {i}\right )\,\left (\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )\,{\left (\frac {1}{27\,a\,d^3}\right )}^{1/3}+\ln \left (2\,{\left (b\,x^3+a\right )}^{1/3}+a\,d^2\,{\left (\frac {1}{a\,d^3}\right )}^{2/3}+\sqrt {3}\,a\,d^2\,{\left (\frac {1}{a\,d^3}\right )}^{2/3}\,1{}\mathrm {i}\right )\,\left (-\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )\,{\left (\frac {1}{27\,a\,d^3}\right )}^{1/3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________